<?php

  /**
  * QuickSkin Extension hidemail
  * Protects email address from being scanned by spam bots
  *
  * Usage Example:
  * Content:  $template->assign('AUTHOR', 'philipp@criegern.de' );
  * Template: Author: {hidemail:AUTHOR}
  * Result:   Author: philipp at criegern dot de
  *
  * @author Philipp v. Criegern philipp@criegern.de
  *
  * CVS ID: $Id: smarttemplate_extension_hidemail.php,v 1.2 2006/04/30 19:56:04 endelwar Exp $
  */
  function quickskin_ext_hidemail ( $param )
  {
    return str_replace('@', ' at ', str_replace('.', ' dot ', $param));
  }

?>
